<?php

class m130707_172408_add_archived_to_transaction extends CDbMigration
{
	public function up(){
		$this->addColumn("transactions", "archived", "BOOLEAN NOT NULL DEFAULT FALSE");
		return true;
	}

	public function down()
	{
		$this->dropColumn('transactions', 'archived');
		return true;
	}

	/*
	// Use safeUp/safeDown to do migration with transaction
	public function safeUp()
	{
	}

	public function safeDown()
	{
	}
	*/
}